package com.xmhmyh.generalframework.framework.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @Author: 于丁
 * @DateTime: 2020/7/22 2:26 下午
 */
@Data
@Component
@ConfigurationProperties(value = "project-info")
public class ProjectConfig {
    /** 项目名称 */
    private String name;

    /** 版本 */
    private String version;

    /** 版权年份 */
    private String copyrightYear;

}
